package org.zk.service;


import com.github.pagehelper.PageInfo;
import org.zk.entity.Broadcast;
import org.zk.entity.Lession;
import org.zk.entity.LessionBroadcast;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 课节表 服务类
 * </p>
 *
 * @author Alicelonely
 * @since 2019-12-30
 */
public interface LessionBroadcastService{


    //添加单节直播
    int addLessionBroadcast(LessionBroadcast lessionBroadcast);

    //根据id查询课节
    List<LessionBroadcast> getBroadcastLessionById(int broadcastId);

    //删除该节直播
    int delBroadcastLessionById(LessionBroadcast lessionBroadcast);

    //更改直播章节（给直播章节添加视频）
    int updateLessionBroadcast(LessionBroadcast lessionBroadcast);

    LessionBroadcast getBroadcastLvideoById(int lessionBroadcastId);

}
